package com.ruoyi.DoctorSys.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 医生对象 yisheng
 * 
 * @author ruoyi
 * @date 2024-03-26
 */
public class Yisheng extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /** 医生工号 */
    @Excel(name = "医生工号")
    private String yishenggonghao;

    /** 医生姓名 */
    @Excel(name = "医生姓名")
    private String yishengxingming;

    /** 密码 */
    @Excel(name = "密码")
    private String mima;

    /** 性别 */
    @Excel(name = "性别")
    private String xingbie;

    /** 头像 */
    @Excel(name = "头像")
    private String touxiang;

    /** 科室 */
    @Excel(name = "科室")
    private String keshi;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String dianhuahaoma;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAddtime(Date addtime) 
    {
        this.addtime = addtime;
    }

    public Date getAddtime() 
    {
        return addtime;
    }
    public void setYishenggonghao(String yishenggonghao) 
    {
        this.yishenggonghao = yishenggonghao;
    }

    public String getYishenggonghao() 
    {
        return yishenggonghao;
    }
    public void setYishengxingming(String yishengxingming) 
    {
        this.yishengxingming = yishengxingming;
    }

    public String getYishengxingming() 
    {
        return yishengxingming;
    }
    public void setMima(String mima) 
    {
        this.mima = mima;
    }

    public String getMima() 
    {
        return mima;
    }
    public void setXingbie(String xingbie) 
    {
        this.xingbie = xingbie;
    }

    public String getXingbie() 
    {
        return xingbie;
    }
    public void setTouxiang(String touxiang) 
    {
        this.touxiang = touxiang;
    }

    public String getTouxiang() 
    {
        return touxiang;
    }
    public void setKeshi(String keshi) 
    {
        this.keshi = keshi;
    }

    public String getKeshi() 
    {
        return keshi;
    }
    public void setDianhuahaoma(String dianhuahaoma) 
    {
        this.dianhuahaoma = dianhuahaoma;
    }

    public String getDianhuahaoma() 
    {
        return dianhuahaoma;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("addtime", getAddtime())
            .append("yishenggonghao", getYishenggonghao())
            .append("yishengxingming", getYishengxingming())
            .append("mima", getMima())
            .append("xingbie", getXingbie())
            .append("touxiang", getTouxiang())
            .append("keshi", getKeshi())
            .append("dianhuahaoma", getDianhuahaoma())
            .toString();
    }
}
